<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping package="cn.firstsoft.modules.integration.domain">
    <class name="MessageSyncTask" table="Message_Sync_Task">
        <id name="id" type="integer">
            <column name="id" />
            <generator class="native" >
				<param name="sequence">MESSAGE_SYNC_TASK_ID_SEQ</param>
            </generator>
        </id>
        <property type="integer" name="sysConfId">
			<column name="sys_conf_id" />
		</property>
		<property type="integer" name="integratSobId">
			<column name="integrat_sob_id" />
		</property>
        <property type="string" name="sobId">
			<column name="sob_id" length="10"/>
		</property>
		<property type="timestamp" name="startTime">
			<column name="start_time" length="23" />
		</property>
		<property type="timestamp" name="endTime">
			<column name="end_time" length="23" />
		</property>
		<property type="integer" name="status">
			<column name="status" />
		</property>
		<property type="string" name="errorMsg">
			<column name="error_msg" length="2000"/>
		</property>
    </class>
</hibernate-mapping>

